<template>
  <section class="app-main">
    <transition name="fade-transform" mode="out-in">
      <!-- 主体 -->
      <router-view></router-view>
    </transition>
  </section>
</template>

<script>
export default {
  name: 'AppMain',
  computed: {
    // key() {
    //   return this.$route.name !== undefined ? this.$route.name + +new Date() : this.$route + +new Date()
    // }
  }
}
</script>

<style scoped>
.app-main {
 
  min-height: calc(100vh - 152px);
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
  margin-top: 53px;
  margin-left: 70px;
  padding-top: 40px;
}
</style>
